package cn.hoichun.news.Service;

import cn.hoichun.news.Domain.User;
import cn.hoichun.news.Mapper.UserMapper;

import java.util.List;

/**
 * @author Hoichun
 */
public interface IUserService {

    /**
     * @return 所有用户
     */
    List<User> listAllUsers();

    User findUserById(int id);

    List<User> getSimilarUsers(int userId);
}
